home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1993 July / InfoMagic USENET CD-ROM July 1993.ISO / sources / std_unix / archive / text0013.txt < prev    next >
Encoding:
Text File  |  1993-07-06  |  3.6 KB  |  88 lines

  1. Submitted-by: dave@88open.org (Dave Cline)
  2.  
  3. In article <1nja8cINNc45@ftp.UU.NET>,
  4.     jeffrey@netcom.com (Jeffrey Kegler) writes:
  5.  
  6. >Here's the problem.  In the absence of a test method standard, the
  7. >implementor of the base standard must come as close as possible to the
  8. >original standard.
  9.  
  10. To be a bit more precise, in the absence of a conformance test suite,
  11. the implementor must *say* they implement the base standard.  It's
  12. not quite the same thing in the real world.
  13.  
  14. >If a test method standard exists, however, he need
  15. >only implement to pass the tests in that standard.
  16.  
  17. Here, as in the following, no clear distinction is made between
  18. a test method standard and a conformance test suite is made.
  19.  
  20. Conformance test suites existed long before anyone thought of
  21. writing a test method standard.  Almost all of the arguments that
  22. are advanced here against test method standards apply equally to
  23. conformance test suites.
  24.  
  25. >Standardized test methods imply, perhaps paradoxically, a considerably
  26. >less rigorous standard than their original base standard.  Almost all
  27. >standards of POSIX complexity will contain requirements which are not
  28. >practically testable.  The standardized test method, in effect,
  29. >repeals these.
  30. >
  31. >The mathematical argument that the base standard implied by the test
  32. >method standard must be less rigorous than the original is
  33. >straightforward.  Most POSIX standards will specify a sufficiently
  34. >complex system to implement a Turing machine.  Testing that all
  35. >programs for a Turing machine correctly execute on a given black box
  36. >is impossible, even in theory -- it implies the solution of whole sets
  37. >of undecidable problems.
  38.  
  39. I think that the reference to Turing might have been intended to refer
  40. to Goedel, but anyway, the reference is misplaced.   A Turing machine
  41. requires infinite storage.  If only finite storage is present, then
  42. one can, in theory, enumerate all the possible programs and their
  43. results.  With finite storage there is no halting problem.  One may
  44. well choose not to wait for the answers, though.  :-)
  45.  
  46. There are hard problems.  There are complex standards.  Exhaustive
  47. black box testing of standards is not possible for many different
  48. reasons.
  49.  
  50. All of these statements have nothing whatever to do with Turing machines.
  51.  
  52. Any black box test such as a conformance test suite samples only
  53. a small portion of the potential state space of a large system.
  54. As with any test, it can only show the presence of bugs.
  55.  
  56. We certainly should not criticize black box conformance testing
  57. because it cannot show the absence of bugs.
  58.  
  59. >It would seem to me to be prudent to produce test method standards on
  60. >a limited, trial basis, if at all.
  61.  
  62. It seems valid to argue against formal test method standards because:
  63.  
  64.   a) they are hard to write.
  65.   b) they are just as error-prone as the original standard.
  66.   c) there is no mechanical way to ensure that both standards
  67.      say the same thing.
  68.   d) they are not cost-effective.
  69.   e) the audience for such standards is limited.
  70.   f) they are not technology enablers.  Conformance test suites
  71.      will be written even if test method standards are not.
  72.   g) the time required to create a test method standard impacts
  73.      the timely release of the base standards.
  74.  
  75. I agree with the above statements.
  76.  
  77. However, one should distinguish between test method standards
  78. and conformance test suites.  The conformance test suites will
  79. end up being written whether a test method standard exists
  80. or not (e.g. languages have not been "blessed" with test method
  81. standards, but language conformance testing is accepted industry
  82. practice).
  83.  
  84. --
  85.  
  86. Volume-Number: Volume 31, Number 14
  87.  
  88.